$def with (page)

$var title: $_('Permission of %(key)s', key=page.key)

<div id="contentHead">
    <span class="lightgreen smallest sansserif">$_("Permission of")</span>
    <h1><a href="$page.key">$page.key</a></h1>
</div>

<div class="contentBody">
<form method="POST" class="olform">
    <div class="formElement">
        <div class="label">
            <label for="edition-language">$_("Permission")</label>
            <span class="tip"></span>
        </div>
        <div class="input">
			$:thinginput(page.permission, expected_type="/type/permission", name="permission")
        </div>
	</div>

    <div class="formElement">
        <div class="label">
            <label for="edition-language">$_("Child Permission")</label>
            <span class="tip"></span>
        </div>
        <div class="input">
			$:thinginput(page.child_permission, expected_type="/type/permission", name="child_permission")
        </div>
	</div>

    $:macros.EditButtons(comment=page.comment_)
</form>
</div>